package com.shop.service;

import com.shop.pojo.DtsGoodsProduct;

/**
 * @ClassName DtsGoodsProductService
 * @Author xiao宋
 * @Date 20:55  2022/10/13
 * @Version 1.0
 * @Description TODO
 */
public interface DtsGoodsProductService {
    /**
     * 获取货品数量
     * @return
     */
    long getTotal();

    /**
     * 添加商品是添加对应的货品
     * @param product
     */
    void insert(DtsGoodsProduct product);

    void deleteById(Integer goodsId);
}
